import request from '@/utils/request'

// 查询序号参数列表
export function listScmSequenceParm(query) {
  return request({
    url: '/scm/scmSequenceParm/list',
    method: 'get',
    params: query
  })
}

// 查询序号参数详细
export function getScmSequenceParm(id) {
  return request({
    url: '/scm/scmSequenceParm/' + id,
    method: 'get'
  })
}

// 新增序号参数
export function addScmSequenceParm(data) {
  return request({
    url: '/scm/scmSequenceParm',
    method: 'post',
    data: data
  })
}

// 修改序号参数
export function updateScmSequenceParm(data) {
  return request({
    url: '/scm/scmSequenceParm',
    method: 'put',
    data: data
  })
}

// 删除序号参数
export function delScmSequenceParm(id) {
  return request({
    url: '/scm/scmSequenceParm/' + id,
    method: 'delete'
  })
}
